using System;
using WCell.Constants.World;
using WCell.RealmServer.Global;

namespace WCell.RealmServer.Instances
{
    public class InstanceCooldown : IRegionId
    {
        public DateTime EnterTime;
    	private MapId m_RegionId;
        private uint m_id;

        public InstanceCooldown(uint id, MapId mapId, DateTime time)
        {
            EnterTime = time;
            m_id = id;
        	m_RegionId = mapId;
        }

    	public MapId RegionId
    	{
    		get { return m_RegionId; }
    	}

    	public uint InstanceId
        {
            get { return m_id; }
        }
    }
}
